package com.example.demo.mapper.gisMapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.model.DTO.NameTypeDTO;
import com.example.demo.model.DTO.ParkingLotStatistics;
import com.example.demo.model.entity.GisEntity.Parking;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
@DS("slave")
public interface ParkingMapper  extends BaseMapper<Parking> {
    List<ParkingLotStatistics> getParkingLotStatistics();
    List<NameTypeDTO> getParkinggroupByType();

}
